package com.enjoyor.soa.traffic.rest.efoms.dubbo;

import com.enjoyor.soa.traffic.api.dto.efoms.RepairsInfoDto;
import com.enjoyor.soa.traffic.util.pojo.Page;
import com.enjoyor.soa.traffic.util.pojo.ResultPojo;

public interface IRepairsInfoConsumeService {
	public ResultPojo select(String repairsId);

	public ResultPojo selectList(String repairsId, String repStatusCode, String devTypeCode, String devAreaCode,
			String devId, String devName, String key,String press, String repDeptIds, String startTime, String endTime);

	@SuppressWarnings("rawtypes")
	public ResultPojo selectPage(Page page,String repairsId, String repStatusCode, String devTypeCode, String devAreaCode,
			String key,String press, String repDeptIds, String startTime, String endTime);

	public ResultPojo insert(RepairsInfoDto repairsInfoDto, String userName);

	public ResultPojo edit(RepairsInfoDto repairsInfoDto, String userName);

	public ResultPojo delete(String repairsId, String userName);
	
	public ResultPojo audit(String repairsId, String userName,String isPass,String operExplain);
	
	public ResultPojo cancel(String repairsId, String userName,String operExplain,String operReasonCode,String operReasonName);
	
	public ResultPojo press(String repairsId, String userName,String operExplain);
	
	public ResultPojo devRepeatCheck(String devTypeCode, String devId);
	
	public ResultPojo getOperationCount(String startTime,String endTime);
}
